package cn.iocoder.yudao.module.reading.controller.admin.ai.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.Size;

/**
 * 管理后台 - AI文本处理请求 VO
 *
 * @author 芋道源码
 */
@Schema(description = "管理后台 - AI文本处理请求 VO")
@Data
public class AdminAiProcessReqVO {

    @Schema(description = "待处理的文本内容", example = "Today I read a very good book.")
    @Size(max = 2000, message = "文本内容长度不能超过2000字符")
    private String content;

    @Schema(description = "操作类型", example = "translate", allowableValues = {"polish", "translate"})
    private String operation = "translate";

    @Schema(description = "源语言", example = "en")
    private String sourceLanguage = "en";

    @Schema(description = "目标语言", example = "zh")
    private String targetLanguage = "zh";

}
